import com.tencent.dao.StudentDAOImpl;
import com.tencent.pojo.Student;
import com.tencent.service.StudentServiceImpl;
import com.tencent.util.JDBCUtils;
import org.junit.jupiter.api.Test;

import java.util.List;

/**
 * @author: Fame
 * @date: 2022-06-20 16:09
 * @description:
 */
public class App {
    @Test
    public void test1(){
        System.out.println(JDBCUtils.getConnection());
    }

    @Test
    public void test2(){
        List<Student> list = new StudentServiceImpl().get(1);
        list.forEach(student -> System.out.println(student));
    }
}
